package com.newgrand.service;

import com.newgrand.domain.model.I8ReturnModel;
import com.newgrand.domain.model.ProjectSubcontracts;

import java.util.List;

/**
 * @创建人：ZhaoFengjie
 * @修改人：ZhaoFengjie
 * @创建时间：18:25 2022/10/17
 * @修改时间:：18:25 2022/10/17
 */
public interface ProjectSubcontractsService {

    I8ReturnModel<String> save(ProjectSubcontracts.ProjectSubcontractsData.ProjectSubcontractsItem data, String orgId);

    void saveBatch(List<ProjectSubcontracts.ProjectSubcontractsData.ProjectSubcontractsItem> data, String orgId);

    I8ReturnModel<List<ProjectSubcontracts.ProjectSubcontractsData.ProjectSubcontractsItem>> getDataByOrgId(String orgId);

    I8ReturnModel<String> saveDataByOrgId(String orgId);

}
